﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Product_View.aspx.cs" Inherits="Ajax.Web.Product_View"
    EnableViewState="false" %>

<%@ OutputCache Duration="3600" VaryByParam="*" %>
<%@ Register Src="~/Control/Top.ascx" TagName="top" TagPrefix="AjaxControl" %>
<%@ Register Src="~/Control/Footer.ascx" TagName="footer" TagPrefix="AjaxControl" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=model.Title %>-<%=webset.WebName %></title>
    <%=AddMetaInfo(webset.WebKeywords,webset.WebDescription,"") %>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <link href="images/library/msg.css" rel="stylesheet" type="text/css" />
    <link href="css/custom-theme/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
    <script type="text/javascript" src="images/library/msg.js"></script>
    <script type="text/javascript" src="js/jquery.jqzoom.js"></script>
    <script type="text/javascript">
        $(document).ready(function () { $(".jqzoom").jqueryzoom({ xzoom: 300, yzoom: 300 }); });
    </script>
</head>
<body id="product">
    <form id="form1" runat="server">
    <!--Head.Start-->
    <AjaxControl:top ID="topControls" runat="server" />
    <!--Head.End-->
    <div class="main">
        <!--left.start-->
        <div class="pleft">
            <dl class="p1">
                <dt><strong>产品类别</strong></dt>
                <dd>
                    <div class="proChnnelList">
                        <%=Ajax.Web.UI.Channel.ProTxtList(0, 2)%>
                    </div>
                </dd>
            </dl>
        </div>
        <!--left.end-->
        <!--right.start-->
        <div class="pright">
            <div class="prplace">
                <a href="Index.html">主页</a> > <a href="Product.html">产品中心</a> >
                <%=Ajax.Web.UI.Channel.ViewChannelTitle(model.ClassId)%>
                >
            </div>
            <div class="productInfoDIV">
                <div class="pictureDIV">
                    <div style="height: 310px; text-align: center;">
                        <span class="jqzoom">
                            <img jqimg="<%=model.ImgUrl %>" src="/Tools/Http_ImgLoad.ashx?w=300&h=300&gurl=<%=model.ImgUrl %>" /></span>
                    </div>
                </div>
                <div class="infoDIV">
                    <div class="infoTitle">
                        <%=model.Title %></div>
                    <div class="productItem">
                        <ul>
                            <li>所属类别：<%=GetClassTitle(model.ClassId) %></li>
                            <li>产品型号：<%=model.Xinghao %></li>
                            <li>产品名称：<%=model.Title %></li>
                            <li>规格型号：<%=model.Guige %></li>
                            <li>产品价格：<%=model.Price>0 ? "$"+model.Price.ToString() : "Negotiable" %></li>
                            <li>浏览次数：<%=model.Click.ToString()%></li>
                            <li>发布时间：<%=model.AddTime.ToString("yyyy/MM/dd") %></li>
                            <li></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div id="productInfoBtn">
                <ul>
                    <li class="current_s" style="margin-left: 6px;"><span>产品介绍</span></li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div id="productDetails">
                <%=model.Content %></div>
        </div>
    </div>
    <!--footer Start-->
    <AjaxControl:footer ID="Footer" runat="server" />
    <!--footer End-->
    </form>
</body>
</html>
